[INFO] cloning repository https://github.com/c0gent/ocl-segfault
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c0gent/ocl-segfault" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 698e6b28edfa12de3f4044574573ef4a4c6b6d35
[INFO] building c0gent/ocl-segfault against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c0gent/ocl-segfault on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/c0gent/ocl-segfault
[INFO] finished tweaking git repo https://github.com/c0gent/ocl-segfault
[INFO] tweaked toml for git repo https://github.com/c0gent/ocl-segfault written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/c0gent/ocl-segfault already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5a3127a3486a1a09d291217d328d80451a0c2ef64a48f097b06fe66a52c1d65e
[INFO] running `Command { std: "docker" "start" "-a" "5a3127a3486a1a09d291217d328d80451a0c2ef64a48f097b06fe66a52c1d65e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a3127a3486a1a09d291217d328d80451a0c2ef64a48f097b06fe66a52c1d65e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a3127a3486a1a09d291217d328d80451a0c2ef64a48f097b06fe66a52c1d65e", kill_on_drop: false }`
[INFO] [stdout] 5a3127a3486a1a09d291217d328d80451a0c2ef64a48f097b06fe66a52c1d65e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 798a84b82a9f585417b156738eeaf213a9c82e1cd4607a83291faaa7abd19306
[INFO] running `Command { std: "docker" "start" "-a" "798a84b82a9f585417b156738eeaf213a9c82e1cd4607a83291faaa7abd19306", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.17
[INFO] [stderr]    Compiling cl-sys v0.4.1 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling cfg-if v0.1.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.8
[INFO] [stderr]    Compiling futures v0.1.21
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling ocl-core v0.9.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling ocl-core-vector v0.1.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.23
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling qutex v0.2.1
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling backtrace v0.3.8
[INFO] [stderr]    Compiling failure v0.1.1
[INFO] [stderr]    Compiling ocl v0.18.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1609:13
[INFO] [stdout]      |
[INFO] [stdout] 1606 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stdout]      |                                                                       ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 1609 |             &self.cmd.buffer.obj_core, true, flags, offset, len, ewait, enew)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 1614 |             queue.clone()))
[INFO] [stdout]      |             ----- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1613:57
[INFO] [stdout]      |
[INFO] [stdout] 1606 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stdout]      |                                                                       ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 1613 |         Ok(MemMap::new(mm_core, len, None, unmap_event, self.cmd.buffer.obj_core.clone(),
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 1614 |             queue.clone()))
[INFO] [stdout]      |             ----- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1635:13
[INFO] [stdout]      |
[INFO] [stdout] 1630 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stdout]      |                                                                       ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 1635 |             &self.cmd.buffer.obj_core, false, flags, offset, len, ewait,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 1646 |             self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/))
[INFO] [stdout]      |                                               ----- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1646:13
[INFO] [stdout]      |
[INFO] [stdout] 1630 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stdout]      |                                                                       ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 1646 |             self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/))
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^          ----- mutable borrow later used here
[INFO] [stdout]      |             |
[INFO] [stdout]      |             immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ocl`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "798a84b82a9f585417b156738eeaf213a9c82e1cd4607a83291faaa7abd19306", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "798a84b82a9f585417b156738eeaf213a9c82e1cd4607a83291faaa7abd19306", kill_on_drop: false }`
[INFO] [stdout] 798a84b82a9f585417b156738eeaf213a9c82e1cd4607a83291faaa7abd19306
